package com.zzyl.nursing.job;

import com.zzyl.nursing.controller.AlertRuleController;
import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author Waker
 * @description:
 * @create 2025-09-21-21:48
 */
@Component
@Slf4j
public class AlertJob {
    @Autowired
    private IAlertRuleService alertRuleService;

    public void deviceDataAlertFilter(){
        log.warn("设备数据上报过滤定时任务开始执行...");
        alertRuleService.deviceDataAlertFilter();
    }
}
